import request from '@/utils/request'
//业务类型列表
export function bus_list(page,limit,keyword) {
  return request({
    url: '/market/system/bus_list',
    method: 'post',
    data:{
      page,
      limit,
      keyword
    }
  })
}
//添加业务类型
export function bus_add(title,price,min_price,max_price,unit,sort,remark) {
  return request({
    url: '/market/system/bus_add',
    method: 'post',
    data:{
      title,
      price,
      min_price,
      max_price,
      unit,
      sort,
      remark
    }
  })
}
//删除
export function bus_del(id) {
  return request({
    url: '/market/system/bus_del',
    method: 'post',
    data:{
      id
    }
  })
}
//编辑
export function bus_edit(id,title,price,min_price,max_price,unit,sort,remark,) {
  return request({
    url: '/market/system/bus_edit',
    method: 'post',
    data:{
      id,
      title,
      price,
      min_price,
      max_price,
      unit,
      sort,
      remark
    }
  })
}
